package com.example.administrator.wallet.model.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/8/30.
 */

public class BankPrepareBtcBean {
    /**
     * code : 200
     * data : {"coin_symbol":"BTC","coin_unit":"BTC","unspent":[{"txid":"41a6ca20475950acc5b7af5a2a0dea18a5d7f7b4482ed46bc8ca8111cdb1ffbc","tx_output_n":0,"value":27500000,"value_dec":0.275}],"balance":0.275,"exchange_rate":"48136.70","low":"0.00001","high":"0.01","current":"0.0001","limit_amount":1.0E-4,"bank_addr":"2MtebsT6bLtt5qzuTydYyCRw638wK1ZKSqg"}
     * message : 提交成功
     */

    private int code;
    private DataBean data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * coin_symbol : BTC
         * coin_unit : BTC
         * unspent : [{"txid":"41a6ca20475950acc5b7af5a2a0dea18a5d7f7b4482ed46bc8ca8111cdb1ffbc","tx_output_n":0,"value":27500000,"value_dec":0.275}]
         * balance : 0.275
         * exchange_rate : 48136.70
         * low : 0.00001
         * high : 0.01
         * current : 0.0001
         * limit_amount : 1.0E-4
         * bank_addr : 2MtebsT6bLtt5qzuTydYyCRw638wK1ZKSqg
         */

        private String coin_symbol;
        private String coin_unit;
        private double balance;
        private String exchange_rate;
        private String low;
        private String high;
        private String current;
        private double limit_amount;
        private String bank_addr;
        private List<UnspentBean> unspent;

        public String getCoin_symbol() {
            return coin_symbol;
        }

        public void setCoin_symbol(String coin_symbol) {
            this.coin_symbol = coin_symbol;
        }

        public String getCoin_unit() {
            return coin_unit;
        }

        public void setCoin_unit(String coin_unit) {
            this.coin_unit = coin_unit;
        }

        public double getBalance() {
            return balance;
        }

        public void setBalance(double balance) {
            this.balance = balance;
        }

        public String getExchange_rate() {
            return exchange_rate;
        }

        public void setExchange_rate(String exchange_rate) {
            this.exchange_rate = exchange_rate;
        }

        public String getLow() {
            return low;
        }

        public void setLow(String low) {
            this.low = low;
        }

        public String getHigh() {
            return high;
        }

        public void setHigh(String high) {
            this.high = high;
        }

        public String getCurrent() {
            return current;
        }

        public void setCurrent(String current) {
            this.current = current;
        }

        public double getLimit_amount() {
            return limit_amount;
        }

        public void setLimit_amount(double limit_amount) {
            this.limit_amount = limit_amount;
        }

        public String getBank_addr() {
            return bank_addr;
        }

        public void setBank_addr(String bank_addr) {
            this.bank_addr = bank_addr;
        }

        public List<UnspentBean> getUnspent() {
            return unspent;
        }

        public void setUnspent(List<UnspentBean> unspent) {
            this.unspent = unspent;
        }

        public static class UnspentBean {
            /**
             * txid : 41a6ca20475950acc5b7af5a2a0dea18a5d7f7b4482ed46bc8ca8111cdb1ffbc
             * tx_output_n : 0
             * value : 27500000
             * value_dec : 0.275
             */

            private String txid;
            private String tx_output_n;
            private int value;
            private double value_dec;

            public String getTxid() {
                return txid;
            }

            public void setTxid(String txid) {
                this.txid = txid;
            }

            public String getTx_output_n() {
                return tx_output_n;
            }

            public void setTx_output_n(String tx_output_n) {
                this.tx_output_n = tx_output_n;
            }

            public int getValue() {
                return value;
            }

            public void setValue(int value) {
                this.value = value;
            }

            public double getValue_dec() {
                return value_dec;
            }

            public void setValue_dec(double value_dec) {
                this.value_dec = value_dec;
            }
        }
    }
}
